package com.jlkf.controller.report;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.jlkf.service.ReportService;
/**
 * 报表
 * @author DN
 *
 */
@Controller
@RequestMapping("report")
public class ReportController {

	@Autowired
	private ReportService reportService;
	
	//司机月收入报表
	@RequestMapping("getDriverMonthlyIncomeList")
	public Object getDriverMonthlyIncomeList(String year,String mouth,Integer pageNo,Integer pageSize){
		return reportService.getDriverMonthlyIncomeList(year,mouth, pageNo, pageSize);
	}
	
	/*@RequestMapping("getDriverWeekIncomeList")
	public Object getDriverWeekIncomeList(Integer week,Integer pageNo,Integer pageSize){
		return reportService.getDriverWeekIncomeList(week, pageNo, pageSize);
	}*/
}
